// #define DEBUG

#ifdef DEBUG

class FunctionDebugObject
{
	char *function;
public:
	FunctionDebugObject(char *function)
	{
		this->function = function;
		printf("ENTER %s\n", function); 
	}
	~FunctionDebugObject()
	{
		printf("LEAVE\n");
	}
};

#define ENTER(a) FunctionDebugObject functionDebugObject(#a);

#else

#define ENTER(a)

#endif

